#include <iostream>
#include "DateOfPub.h"

using namespace std;


DateOfPub::DateOfPub()
{
	m_day = 0;
	m_month = 0;
	m_year = 0;

}

DateOfPub::DateOfPub(int iDay, int iMonth, int iYear)
{
	m_day = iDay;
	m_month = iMonth;
	m_year = iYear;
}

void DateOfPub::PrinfDateOfPub()
{
	cout<<"Date of publication: "<<m_day<<"/"<<m_month<<"/"<<m_year<<endl;
}

int DateOfPub::getDay()
{
	return m_day;
}

int DateOfPub::getMonth()
{
	return m_month;
}

int DateOfPub::getYear()
{
	return m_year;
}

void DateOfPub::setDay(int iDay)
{
	m_day = iDay;
}

void DateOfPub::setMonth(int iMonth)
{
	m_month = iMonth;
}

void DateOfPub::setYear(int iYear)
{
	m_year = iYear;
}

